package com.hxl.demo.service.Impl;

import com.hxl.demo.entity.TrainingClassification;
import com.hxl.demo.entity.TrainingContents;
import com.hxl.demo.mapper.TrainingClassificationMapper;
import com.hxl.demo.service.TrainingClassificationService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class TrainingClassificationServiceImpl implements TrainingClassificationService {

    @Resource
    private TrainingClassificationMapper trainingClassificationMapper;

    @Override
    public List<TrainingClassification> getTrainingClassificationList() {
        return trainingClassificationMapper.getTrainingClassificationList();
    }
    @Override
    public List<TrainingContents> getTrainingContentsList() {
        return trainingClassificationMapper.getTrainingContentsList();
    }

    @Override
    public TrainingClassification getTrainingClassificationById(Integer id) {
        return trainingClassificationMapper.getTrainingClassificationById(id);
    }


}
